<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: QtSoapQName Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#related">Related Functions</a> &#124;
<a href="class_qt_soap_q_name-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QtSoapQName Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="class_qt_soap_q_name.html" title="The QtSoapQName class provides a wrapper for QNames (names with namespaces). ">QtSoapQName</a> class provides a wrapper for QNames (names with namespaces).  
 <a href="class_qt_soap_q_name.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qtsoap_8h_source.html">qtsoap.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4a96c28ad8c0ff72a3353048c5414912"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_soap_q_name.html#a4a96c28ad8c0ff72a3353048c5414912">QtSoapQName</a> (const QString &amp;<a class="el" href="class_qt_soap_q_name.html#ab788bc414e5709a56e2f8db2403028b7">name</a>=QString::null, const QString &amp;<a class="el" href="class_qt_soap_q_name.html#afff764342a9182afa6c67fdf3a193a6b">uri</a>=QString::null)</td></tr>
<tr class="separator:a4a96c28ad8c0ff72a3353048c5414912"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24085961dcaebe30f08f2069e00b3d4a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_soap_q_name.html#a24085961dcaebe30f08f2069e00b3d4a">~QtSoapQName</a> ()</td></tr>
<tr class="separator:a24085961dcaebe30f08f2069e00b3d4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0a96da00a45c69fffab0e72a91bda6a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qt_soap_q_name.html">QtSoapQName</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_soap_q_name.html#ae0a96da00a45c69fffab0e72a91bda6a">operator=</a> (const QString &amp;s)</td></tr>
<tr class="separator:ae0a96da00a45c69fffab0e72a91bda6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab788bc414e5709a56e2f8db2403028b7"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_soap_q_name.html#ab788bc414e5709a56e2f8db2403028b7">name</a> () const</td></tr>
<tr class="separator:ab788bc414e5709a56e2f8db2403028b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afff764342a9182afa6c67fdf3a193a6b"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_soap_q_name.html#afff764342a9182afa6c67fdf3a193a6b">uri</a> () const</td></tr>
<tr class="separator:afff764342a9182afa6c67fdf3a193a6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:a92f65e83e578dc8162316a1c1d8fbcf6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_soap_q_name.html#a92f65e83e578dc8162316a1c1d8fbcf6">operator==</a> (const <a class="el" href="class_qt_soap_q_name.html">QtSoapQName</a> &amp;s1, const <a class="el" href="class_qt_soap_q_name.html">QtSoapQName</a> &amp;s2)</td></tr>
<tr class="separator:a92f65e83e578dc8162316a1c1d8fbcf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a324bad744351599e14ab87bab8e574a6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_soap_q_name.html#a324bad744351599e14ab87bab8e574a6">operator&lt;</a> (const <a class="el" href="class_qt_soap_q_name.html">QtSoapQName</a> &amp;s1, const <a class="el" href="class_qt_soap_q_name.html">QtSoapQName</a> &amp;s2)</td></tr>
<tr class="separator:a324bad744351599e14ab87bab8e574a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="class_qt_soap_q_name.html" title="The QtSoapQName class provides a wrapper for QNames (names with namespaces). ">QtSoapQName</a> class provides a wrapper for QNames (names with namespaces). </p>
<p>This class is used extensively in QtSoap to define and identify header and body elements, including method and argument names.</p>
<p>The <a class="el" href="class_qt_soap_q_name.html" title="The QtSoapQName class provides a wrapper for QNames (names with namespaces). ">QtSoapQName</a> consists of a name and a URI. The URI is used as the name's namespace, i.e. the name is qualified (hence 'Q'-Name) by the URI. The <a class="el" href="class_qt_soap_q_name.html#ab788bc414e5709a56e2f8db2403028b7">name()</a> and <a class="el" href="class_qt_soap_q_name.html#afff764342a9182afa6c67fdf3a193a6b">uri()</a> functions return the QNames's name and URI.</p>
<p>The <a class="el" href="class_qt_soap_q_name.html" title="The QtSoapQName class provides a wrapper for QNames (names with namespaces). ">QtSoapQName</a> can be empty. It can also have just a name with no URI. Special handling is often applied to a <a class="el" href="class_qt_soap_q_name.html" title="The QtSoapQName class provides a wrapper for QNames (names with namespaces). ">QtSoapQName</a> that has no URI. Typically, if a QName with no namespace is used in an element in a SOAP document that already has a default namespace defined, then that namespace will be applied to the QName.</p>
<div class="fragment"><div class="line"><a class="code" href="class_qt_soap_message.html">QtSoapMessage</a> message;</div><div class="line"></div><div class="line">message.<a class="code" href="class_qt_soap_message.html#a792f4e366d4bf4c3ca09ea6f034237b5">setMethod</a>(<a class="code" href="class_qt_soap_q_name.html#a4a96c28ad8c0ff72a3353048c5414912">QtSoapQName</a>(<span class="stringliteral">&quot;sendMessage&quot;</span>, <span class="stringliteral">&quot;http://messenging.example.com/&quot;</span>));</div><div class="line">message.<a class="code" href="class_qt_soap_message.html#a07c31536525e366258d54c75d955de50">addMethodArgument</a>(<a class="code" href="class_qt_soap_simple_type.html">QtSoapSimpleType</a>(<a class="code" href="class_qt_soap_q_name.html#a4a96c28ad8c0ff72a3353048c5414912">QtSoapQName</a>(<span class="stringliteral">&quot;a&quot;</span>), 15));</div></div><!-- fragment --> </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a4a96c28ad8c0ff72a3353048c5414912"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a96c28ad8c0ff72a3353048c5414912">&#9670;&nbsp;</a></span>QtSoapQName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QtSoapQName::QtSoapQName </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>name</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>uri</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructs a QName. Sets the QName name to <em>name</em> and the URI to <em>uri</em>. </p>

</div>
</div>
<a id="a24085961dcaebe30f08f2069e00b3d4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24085961dcaebe30f08f2069e00b3d4a">&#9670;&nbsp;</a></span>~QtSoapQName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QtSoapQName::~QtSoapQName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destructs the <a class="el" href="class_qt_soap_q_name.html" title="The QtSoapQName class provides a wrapper for QNames (names with namespaces). ">QtSoapQName</a>. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab788bc414e5709a56e2f8db2403028b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab788bc414e5709a56e2f8db2403028b7">&#9670;&nbsp;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString QtSoapQName::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns QName's name. </p>

</div>
</div>
<a id="ae0a96da00a45c69fffab0e72a91bda6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0a96da00a45c69fffab0e72a91bda6a">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qt_soap_q_name.html">QtSoapQName</a> &amp; QtSoapQName::operator= </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the QName's name to <em>s</em>, and sets the URI to an empty string. </p>

</div>
</div>
<a id="afff764342a9182afa6c67fdf3a193a6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afff764342a9182afa6c67fdf3a193a6b">&#9670;&nbsp;</a></span>uri()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString QtSoapQName::uri </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the QName's URI. </p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a324bad744351599e14ab87bab8e574a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a324bad744351599e14ab87bab8e574a6">&#9670;&nbsp;</a></span>operator&lt;()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator&lt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qt_soap_q_name.html">QtSoapQName</a> &amp;&#160;</td>
          <td class="paramname"><em>s1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qt_soap_q_name.html">QtSoapQName</a> &amp;&#160;</td>
          <td class="paramname"><em>s2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>If <em>s2</em> has a non-empty URI, this function returns true if the merge of the URI and the name of <em>s1</em> is lexically less than that of <em>s2</em>; otherwise it returns false.</p>
<p>If <em>s2</em> has an empty URI, this function returns true if the name of <em>s1</em> is lexically less than the name of <em>s2</em>; otherwise it returns false.</p>
<p>The comparison is case-insensitive. </p>

</div>
</div>
<a id="a92f65e83e578dc8162316a1c1d8fbcf6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92f65e83e578dc8162316a1c1d8fbcf6">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qt_soap_q_name.html">QtSoapQName</a> &amp;&#160;</td>
          <td class="paramname"><em>s1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_qt_soap_q_name.html">QtSoapQName</a> &amp;&#160;</td>
          <td class="paramname"><em>s2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>If <em>s2</em> has a non-empty URI, this function returns true if the merge of the URI and the name of <em>s1</em> is equal to that of <em>s2</em>; otherwise it returns false.</p>
<p>If <em>s2</em> has an empty URI, this function returns true if the name of <em>s1</em> is equal to the name of <em>s2</em>; otherwise it returns false.</p>
<p>The comparison is case-insensitive. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>R:/Develop/a0-develop/LibQQt/src/network/soap/<a class="el" href="qtsoap_8h_source.html">qtsoap.h</a></li>
<li>R:/Develop/a0-develop/LibQQt/src/network/soap/qtsoap.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
